package com.xiaowen.projectDataTitle.service;


import com.xiaowen.projectDataTitle.dto.ProjectDataColumn;
import com.xiaowen.projectDataTitle.dto.ProjectDataTitleDTO;
import com.xiaowen.projectDataTitle.entity.ProjectDataTitle;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 项目数据列表 服务类
 * </p>
 *
 * @author yf-wenhao
 * @since 2024-09-30
 */
public interface ProjectDataTitleService extends IService<ProjectDataTitle> {
    /**
     * 添加项目数据标题
     * @param projectDataTitle
     */
    void addProjectDataTitle(ProjectDataTitle projectDataTitle);

    /**
     * 删除项目数据标题
     * @param projectId
     */
    void deleteProjectDataTitleByProjectId(Integer projectId);

    /**
     * 查询项目数据标题
     * @param projectId
     * @return
     */
    ProjectDataTitleDTO queryProjectDataTitleByProjectId(Integer projectId);

    /**
     * 获取项目数据标题
     * @param importFile
     * @param projectId
     * @return
     */
    List<String> getHeadList(MultipartFile importFile, Integer projectId);

    /**
     * 设置项目数据列
     * @param projectDataColumn
     */
    void setUpProjectDataColumn(ProjectDataColumn projectDataColumn);
}
